import request from '@/utils/request'

// 查询班级关联学生列表
export function listClassRelevanceStudent(query) {
  return request({
    url: '/biz/classRelevanceStudent/list',
    method: 'get',
    params: query
  })
}

// 查询班级关联学生详细
export function getClassRelevanceStudent(id) {
  return request({
    url: '/biz/classRelevanceStudent/' + id,
    method: 'get'
  })
}

// 新增班级关联学生
export function addClassRelevanceStudent(data) {
  return request({
    url: '/biz/classRelevanceStudent',
    method: 'post',
    data: data
  })
}

// 修改班级关联学生
export function updateClassRelevanceStudent(data) {
  return request({
    url: '/biz/classRelevanceStudent',
    method: 'put',
    data: data
  })
}

// 删除班级关联学生
export function delClassRelevanceStudent(id) {
  return request({
    url: '/biz/classRelevanceStudent/' + id,
    method: 'delete'
  })
}
